package top.wuyang.trywork.service;

import top.wuyang.trywork.base.PageBean;
import top.wuyang.trywork.base.R;
import top.wuyang.trywork.entity.TbCpu;
import top.wuyang.trywork.vo.PageVO;

import java.util.List;

public interface TbCpuService {
    R<String> insert(TbCpu tbCpu);


    R<PageVO<TbCpu>> queryPage(PageBean pageBean, TbCpu tbCpu);


    R<TbCpu> queryById(Integer id);

    R<String> update(TbCpu tbCpu);

    R<String> delete(Integer id);
}
